*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display';
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

:root{
    --main-color: #9c8461;
    --main-light: #c2a899;
    --main-dark: #6c443b;
    --product-bg-color: #f8f8f8;
}

body{
    /* background-color: rgba(177, 177, 177, 0.714); */
    background-color: #fff;
}


/* Main */

#Main{
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


/* header */
header.header-fix{
    background-color: #fff;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 101;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.05);
}

.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: auto;
    padding: 30px 0px;
    animation: navianimation 0.6s;
}

header.header-fix .navigation{
    padding: 15px 0px;
}

@keyframes navianimation{
    0%{
        top : -100%;
    }

    50%{
        top : 0%;
    }
}



.menu-icon svg {
    fill: var(--main-color);
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.logo{
    max-width: 180px;
    height: 65px;
    display: flex;
}

.logo img{
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: contain;
    max-height: 65px;
}

.nav-btns{
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 25px;
}

.nav-btns a svg{
    fill: #3f3f3f;
    width: 20px;
    height: 18px;
    color: black;
}

.nav-cart{
    position: relative;
}

.nav-cart span{
    position: absolute;
    right: -8px;
    top: -12px;
    color: #fff;
    background-color: var(--main-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    padding-bottom: 2px;
}

.side-menu{
    position: fixed;
    left: -100%;
    top: 0px;
    width: 100%;
    max-width: 300px;
    height: 100%;
    overflow-y: auto;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.06,);
    z-index: 110;
}

.side-menu::before{
    /* content: ''; */
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1,);
    z-index: -1;
    display: none;
    transition: all ease 0.6s;
}

#menu-btn:checked ~ .side-menu{
    left: 0%;
}

#menu-btn:checked ~ .side-menu::before{
    display: block;
}

#menu-btn{
    display: none;
}

.menu-container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #fff;
}

.side-menu .menu-container strong{
    display: block;
    font-weight: 600;
    margin: 10px;
    padding: 5px 20px;
    background-color: var(--main-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
}

.menu-container .close-btn{
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
}

.menu-container .close-btn svg{
    width: 20px;
    height: 20px;
}


.side-menu .menu-container .menu{
    display: block;
    width: 100%;

}

.menu li a{
    padding: 20px;
    display: flex;
    margin: 0px;
    width: 100%;
    color: #383838;
    font-weight: 500;
    border-bottom: 1px solid #f3f3f3;
    transition: all ease 0.3s;
}

.menu li a:hover{
    color: #181818;

}

/* main content */
.main-content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    width: 90%;
    max-width: 1100px;
    margin: auto;
    align-items: center;
}

.main-content-img{
    width: 100%;
    height: 75vh;
}

.main-content-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.main-content-text{
    display: flex;
    flex-direction: column;
}

.main-content-text strong{
    color: var(--main-dark);
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 600;
}

.main-content-text h1{
    font-size: 4rem;
    color: #313131;
    line-height: 4.7rem;
    font-weight: 600;
}

.main-content-text p{
    color: #8a8a8a;
    margin: 30px 0px;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    max-width: 300px;
}


.main-content-text a{
    color: #fff;
    background-color: var(--main-color);
    max-width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all ease 0.3s;
}

.main-content-text span{
    color: #252525;
    font-size: 2rem;
    margin-bottom: 20px;
}

.main-content-text a:hover{
    opacity: 0.8;
}


/*Seach-bar*/
.search-bar{
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 40vh;
    background-color: #ffffffbb;
    backdrop-filter: blur(30px);
    display: none;
    /* display: flex; */
    justify-content: center;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.5);
    z-index: 101;

}

.search-input{
    width: 90%;
    border-bottom: 1px solid #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-top: 20px;
}

.search-input input{
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 1.8rem;
    margin: 0px;
}



.search-cancel{
    fill: var(--main-dark);
    font-size: 2rem;
    padding-right: 40px;
    transition: all ease 0.3s;

}

.search-cancel svg{
    position: absolute;
    right: 50px;
    top: 60px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
}

.search-cancel:hover{
    opacity: 0.8;
}

.search-bar-active{
    display: flex;
    animation: searchAnimation 0.4s;
}

@keyframes searchAnimation{
    0%{
        bottom: 100%;
    }
    100%{
        bottom: 0%;
    }
}

/* login sign up */
.form{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 102;
}

.login-form,
.sign-up-form{
    width: 100%;
    max-width: 420px;
    padding: 20px 10px;
    background-color: #fff;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: relative;
}

.form-cancel{
    position: absolute;
    right: 20px;
    top: 10px;
    fill: #868686;
}

.form-cancel svg{
    width: 40px;
    height: 40px;
}


.login-form strong,
.sign-up-form strong{
    color:#272727;
    font-size: 2rem;
    margin: 2px 7px 7px 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.login-form form,
.sign-up-form form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-form input,
.sign-up-form input{
    width: 90%;
    height: 45px;
    margin: 6px 0px;
    padding: 0px 10px;
    border: 1px solid rgba(0,0,0,0.1);
    outline: none;
    border-radius: 7px;
}


.login-form input::placeholder,
.sign-up-form input::placeholder{
    color: rgba(0,0,0,0.1);
}

.login-form input[type = "submit"],
.sign-up-form input[Type = 'submit']{
    background-color: var(--main-color);
    color: #fff;
    border: none;
    outline: none;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}


.form-btns{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;

}
 
.form-btns a{
    color: #4d4d4d;
    font-size: 0.9rem;
}

.form-btns a:hover{
    color: var(--main-color);
    text-decoration: underline;
}

.form,
.login-form,
.sign-up-form{
    display: none;
}

.login-active,
.sign-up-active{
    display: flex;

}


.login-active .login-form,
.sign-up-active .sign-up-form{
    display: flex;
    animation: fade 0.5s;
}

@keyframes fade{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}


/*popular*/
#popular{
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    margin-top: 10px;
}

#popular h2
,#recent-product h2
{
    color: #333;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;    
}

.popular-container{
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 50px;
    margin-top: 20px;
    align-items: flex-start;
}


.popular-product-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
}


.popular-box{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-box-img{
    width: 100%;
    max-height: 400px;
    height: 100%;
    background-color: var(--product-bg-color);
    padding: 20px;
    border-radius: 5px;
    position: relative;
    transition: all ease 0.3s;
}

.product-box-img:hover{
    opacity: 0.8;
}





.product-box-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-box-img span{
    position: absolute;
    color: #fff;
    background-color: var(--main-dark);
    right: 5px;
    top: 5px;
    letter-spacing: 2px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 2px 10px;
}


.product-box-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-box-text .product-text-title{
    color: #2b2b2b;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 1px;

}


.product-box-text span{
    color: var(--main-dark);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 5px;
}

.product-box-text span del{
    color: #696969;
}

.product-box-text .product-cart-btn{
    border-radius: 1px solid #e9e9e9;
    width: 100%;
    padding: 10px;
    color: #1d1d1d;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition: all ease 0.3s;
}

.product-box-text .product-cart-btn svg{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.product-box-text .product-cart-btn:hover{
    background-color: var(--main-dark);
    fill: #fff;
    color: #fff;
    border-top: 1px solid transparent;
}


.popular-banner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px;
    text-align: center;
    background-color: var(--product-bg-color);
    min-height: 500px;
    width: 100%;
}

.popular-banner-img{
    width: 100%;
    height: 100%;
    margin-top: 30px;
}

.popular-banner-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popular-banner-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.popular-banner-text h3{
    color: #1d1d1d;
    font-weight: 500;
    font-size: 1.6rem;
}

.popular-banner-text a{
    color: var(--main-dark);
    font-weight: 500;
    margin-top: 10px;
}


/*Shopping-banner*/
#shopping-banner{
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    background-color: var(--product-bg-color);
    padding: 30px;
    border-radius: 10px;

}

.shopping-banner-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 900px;
    margin: auto;
}

.shopping-banner-img{
    height: 300px;
    display: flex;
    justify-content: center;
}

.shopping-banner-img img{
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.shopping-banner-text{
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

.shopping-banner-text strong{
    color: var(--main-dark);
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: 500;
}


.shopping-banner-text h3{
    color: #202020;
    font-size: 1.8rem;
    letter-spacing: 2px;
}


.shopping-banner-text p{
    color: #686868;
    margin: 10px 0px;
}

.shopping-banner-text a{
    color: #fff;
    background-color: var(--main-dark);
    max-width: 160px;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    letter-spacing: 1px;
}

.shopping-banner-text a:hover{
    opacity: 0.8;
}


/*Recent product*/
#recent-product{
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;

}



.recent-product-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 40px;
    margin-top: 20px;
}



/*Partner Logo*/
#partner{
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
    grid-gap: 15px;
}

#partner img{
    height: 50px;
    object-fit: contain;
    object-position: center;
    float: grayscale(1);
    opacity: 0.3;

    transition: all ease 0.3s;
}

#partner img:hover{
    opacity: 1;
    filter: grayscale(0);
}


/*Download App*/
#download-app{
    max-width: 1150px;
    width: 100%;
    background-color: var(--product-bg-color);
    height: 400px;
    margin: 200px auto;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    /* text-align: center; */
    justify-content: space-around;
}

.download-btns{
    display: flex;
}

.download-btns a{
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.download-btns a img{
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.download-app-text{
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.download-app-text strong{
    color: #393939;
    font-size: 1.56rem;
    letter-spacing: 2px;
}

.download-app-text p{
    color: #3b3b3b;
    margin: 20px 0px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.download-app-img{
    width: 275px;
    height: 550px;
    background-color: #fff;
    border: 4px solid #393939;
    border-radius: 20px;
    overflow: hidden;
}

.download-app-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/*blog*/
#blog{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    max-width: 1200px;
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
}

.blog-heading{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    width: 100%;
}

.blog-heading h3{
    font-size: 1.8rem;
    color: #2b2b2b;
    font-weight: 600;
}

.blog-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    margin: 20px 0px;
}

.blog-box{
    width: 100%;
    background-color: var(--product-bg-color);

}

.blog-img{
    width: 100%;
    height: 100%;
    max-height: 280px;

}

.blog-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-text{
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.blog-text span{
    color: var(--main-color);
    font-size: 0.9rem;
}

.blog-text .blog-title{
    font-size: 1.3rem;
    color: #272727;
    font-weight: 500;

}

.blog-text p{
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
}

.blog-text a{
    color: var(--main-color);
    transition: all ease 0.3s;
}

.blog-text a:hover{
    color: var(--main-dark);
}

/*Service*/
.services{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 90%;
    margin: auto;
    grid-gap: 10px;
    margin-bottom: 20px;
}

.service-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.055);
    min-width: 250px;
    padding-bottom: 10px;
    flex-grow: 0.7;
}

.service-box svg{
    width: 40px;
    height: 40px;
    fill: var(--main-color);
    font-size: 2rem;
    margin: 15px;
}

.service-box p{
    color: #222;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.service-box p{
    color: #878787;
    margin: 0px;
    font-size: 0.9rem;
}


/*Footer*/

footer{
    width: 100%;

}

.footer-container{
    max-width: 1200px;
    width: 90%;
    margin: 0px auto;
    padding: 50px 0px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    

}

.footer-company-box,
.footer-subscribe{
    max-width: 330px;

}

.footer-company-box .footer-logo{
    color: #333;
    max-width: 150px;
    display: flex;
    height: 45px;
}

.footer-company-box .footer-logo img{
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.footer-company-box p,
.footer-subscribe p{
    color: #585858;
    margin: 5px 0px;
}

.footer-social{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social a{
    margin-top: 10px;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: #333;
    border: 1px solid #e9e9e9;
    transition: all ease 0.3s;
}

.footer-social a:hover{
    fill: #fff;
    background-color: var(--main-dark);
    border: 1px solid transparent;
}

.footer-social svg{
    width: 20px;
    height: 20px;

}

.footer-link-box{
    display: flex;
    flex-direction: column;

}

.footer-link-box strong,
.footer-subscribe strong{
    color: #3b3b3b;
    font-size: 600;
    font-size: 1.2rem;
}

.footer-link-box ul{
    margin-top: 5px;
}

.footer-link-box ul li a{
    color: #585858;
    margin-bottom: 3px;
    display: flex;

    transition: all ease 0.3s;
}

.footer-link-box ul li a:hover{
    color: var(--main-dark);
}

.subscribe-box{
    width: 100%;
    border: 1px solid #dadada;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 10px;
}

.subscribe-box input{
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0px 15px;
}

.subscribe-box button{
    color: #fff;
    border: none;
    outline: none;
    background-color: var(--main-dark);
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0px 20px;
    height: 40px;
    cursor: pointer;

}

.subscribe-box button:hover{
    opacity: 0.8;
}

.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 10px;
    padding: 20px 0px;
    max-width: 1200px;
    margin: auto;
    width: 90%;
    border-top: 1px solid #e9e9e9;
}

.footer-bottom span{
    color: #252525;
    font-size: 0.9rem;
    
}


/*Making Responsive*/
@media(max-width:1200px){
    .footer-container{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }
    #download-app{
        width: 90%;

    }



}


@media(max-width:1100px){
    .popular-container{
        grid-template-columns: 1fr;
    }

    .popular-banner-img{
        max-height: 500px;
    }
}

@media(max-width:1024px){
    .recent-product-container{
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20px;
    }

    .download-app{
        flex-direction: column;
        height: 100%;
        background-color: transparent;
        margin: 30px auto;
        max-width: 100%;

    }

    .app-img{
        height: 450px;
        width: 220px;
    }

    .download-app-text{
        max-width: 100%;
        background-color: var(--product-bg-color);
        padding: 20px;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 20px;

    }
    
    .main-content{
        display: flex;
        flex-direction: column-reverse;
    }

    .main-content-img{
        max-height: 60vh;
    }


    .main-content-text{
        margin-top: 30px;
        max-width: 100%;
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .main-content-text p{
        max-width: 400px;

    }

    .main-content-text h1{
        font-size: 2rem;
        line-height: 2.4rem;
    }

    .main-content-text a{
        padding: 0px 20px;
    }


}


@media(max-width:850px){
    .blog-container{
        grid-template-columns: 1fr 1fr ;
    }

    .blog-box{
        display: flex;
        flex-direction: column;
    }

    #partner{
        margin-top: 20px;
        justify-content: center;
        grid-gap: 30px;
    }

    #partner img{
        height: 40px;
    }

    #shopping-banner{
        padding: 20px;
    }

    .shopping-banner-container{
        display: flex;
        flex-direction: column-reverse;
    }

    .shopping-banner-img{
        height: auto;
        width: 90%;
    }

    .shopping-banner-img img{
        width: 100%;
    }

    .shopping-banner-text{
        width: 90%;
        margin-top: 30px;
        max-width: 100%;
    }

    .navigation{
        padding: 20px;
        justify-content: space-between;
        align-items: center;
    }

    .logo{
        height: 30px;
    }


    .logo img{
        max-height: 30px;
    }

    header.header-fix .navigation{
        padding: 10px 20px;
    }


}

@media(max-width:724px){
    .recent-product-container,
    .popular-product-container{
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .blog-container{
        grid-template-columns: 1fr ;
    }

    .login-form,
    .sign-up-form{
        width: 90%;

    }

    .search-input{
        height: 60px;

    }

    .search-input input,
    .search-cancel{
        font-size: 1.4rem;
    }





}


@media(max-width:550px){
    .footer-container{
        grid-template-columns: 1fr;

    }

    .service-box{
        width: 100%;
    }
       
}

@media(max-width:320px){
    .recent-product-container,
    .popular-product-container{
        grid-template-columns: 1fr;
    }

    .download-btns{
        flex-direction: column;
    }

    .download-btns a{
        margin: 4px 0px;
        width: 140px;
    }

    .download-btns a img{
        width: 100%;
    }

    .download-app-text strong{
        font-size: 1.3rem;
    }


}






















